<!DOCTYPE html><html><head><title>小七当家业主版–API接口规范文档</title><meta charset='utf-8'><link href='https://dn-maxiang.qbox.me/res-min/themes/marxico.css' rel='stylesheet'><style></style></head><body><div id='preview-contents' class='note-content'>
                        
                    



<h2 id="小七当家业主版api接口规范文档">小七当家业主版–API接口规范文档</h2>

<div id="top"></div>

<ul><li>注册界面 <br>
<ul>
<li><a href="#registerGetVerificatCode">获取验证码</a></li>
<li><a href="#registerTestVerificatCode">验证验证码</a></li>
<li><a href="#register">完成注册</a></li></ul></li>
<li>登录界面 <br>
<ul>
<li><a href="#login">登录</a></li>
<li><a href="#loginOut">退出登录</a></li></ul></li>
<li>同住人／访客 <br>
<ul>
<li><a href="#ownerRenterGetList">获取</a></li>
<li><a href="#ownerRenteAdd">新增</a></li>
<li><a href="#ownerRenteDelete">删除</a></li>
<li><a href="#ownerRenteAuthorize">授权</a></li>
<li><a href="#inviteVisitor">访客邀请</a></li></ul></li>
<li>功能列表 <br>
<ul>
<li><a href="#appFunctionAdjust">调整</a></li></ul></li>
<li>通知栏消息 <br>
<ul>
<li><a href="#messagePush">推送</a></li></ul></li>
<li>扫一扫 <br>
<ul>
<li><a href="#scanGetList">获取信息</a></li></ul></li>
<li>设备报修 <br>
<ul>
<li><a href="#repairGetList">获取</a></li>
<li><a href="#repairAdd">新增</a></li></ul></li>
<li>投诉 <br>
<ul>
<li><a href="#complaintGetList">获取</a></li>
<li><a href="#complaintAdd">新增</a></li>
<li><a href="#complaintModifyState">更新</a></li></ul></li>
<li>评价 <br>
<ul>
<li><a href="#comment">评价</a></li></ul></li>
<li>文件 <br>
<ul>
<li><a href="#fileUpload">上传文件</a></li></ul></li>
<li>物联监控 <br>
<ul>
<li><a href="#authenticate">门禁—鉴权</a></li>
<li><a href="#openDoor">门禁—开门</a></li>
<li><a href="#saveEntryLog">门禁—保存蓝牙/远程开门记录</a></li>
<li><a href="#getEntryLog">门禁—获取蓝牙/远程开门记录</a></li></ul></li>
<li>个人信息 <br>
<ul>
<li><a href="#userModify">修改</a></li>
<li><a href="#modifyPassword">修改密码</a></li></ul></li>
<li>推送 <br>
<ul>
<li><a href="#talkbackJGpush">推送</a></li></ul></li>
</ul>

<p><a id="registerGetVerificatCode" href="http://undefined" target="_blank"></a></p>



<h4 id="注册界面获取验证码">注册界面—获取验证码</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBase/register/getVerificatCode" target="_blank">http://202.105.104.105:8006/ssh/v1/appBase/register/getVerificatCode</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：</li>
<li>接口备注：获取验证码</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>telephone</td>
        <td>string</td>
        <th>是</th>
        <td>手机号码</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>-4</td>
        <td>int</td>
        <td>短信发送失败</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>短信发送成功</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"telephone"</span>: <span class="hljs-string">"15107962485"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"短信发送成功"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="registerTestVerificatCode" href="http://undefined" target="_blank"></a></p>



<h4 id="注册界面验证码-验证">注册界面—验证码 验证</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBase/register/testVerificatCode" target="_blank">http://202.105.104.105:8006/ssh/v1/appBase/register/testVerificatCode</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：</li>
<li>接口备注：验证码 验证</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>telephone</td>
        <td>string</td>
        <th>是</th>
        <td>手机号码</td>
    </tr>
    <tr>
        <td>verificatCode</td>
        <td>string</td>
        <th>是</th>
        <td>验证码</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>110</td>
        <td>int</td>
        <td>验证码过期</td>
    </tr>
    <tr>
        <td>111</td>
        <td>int</td>
        <td>验证码无效</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>验证码正确</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"telephone"</span>: <span class="hljs-string">"15107962485"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"verificatCode"</span>:<span class="hljs-string">"123456"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"验证码正确"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="register" href="http://undefined" target="_blank"></a></p>



<h4 id="注册界面完成注册">注册界面—完成注册</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBase/register" target="_blank">http://202.105.104.105:8006/ssh/v1/appBase/register</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：</li>
<li>接口备注：注册</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>telephone</td>
        <td>string</td>
        <th>是</th>                         
        <td>手机号码</td>
    </tr>
    <tr>
        <td>password</td>
        <td>string</td>
        <th>是</th>
        <td>密码</td>
    </tr>
    <tr>
        <td>verificatCode</td>
        <td>string</td>
        <th>是</th>
        <td>验证码</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>-5</td>
        <td>int</td>
        <td>您已注册过，请直接登录</td>
    </tr>
    <tr>
        <td>-6</td>
        <td>int</td>
        <td>您没有通过验证码验证，无法注册</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>注册成功</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"telephone"</span>: <span class="hljs-string">"15107962485"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"password"</span>:<span class="hljs-string">"123456"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"verificatCode"</span>:<span class="hljs-string">"123456"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"注册成功"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="login" href="http://undefined" target="_blank">     </a></p>



<h4 id="登录界面登录">登录界面—登录</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBase/login" target="_blank">http://202.105.104.105:8006/ssh/v1/appBase/login</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：</li>
<li>接口备注：登录</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>telephone</td>
        <td>string</td>
        <th>是</th>
        <td>手机号码</td>
    </tr>
    <tr>
        <td>password</td>
        <td>string</td>
        <th>是</th>
        <td>密码</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
    <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>113</td>
        <td>int</td>
        <td>用户名密码不正确，请重新输入</td>
    </tr>
    <tr>
        <td>114</td>
        <td>int</td>
        <td>用户名不存在，请重新输入</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>登录成功</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"telephone"</span>:<span class="hljs-string">"15107962485"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"password"</span>:<span class="hljs-string">"123456"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: {
</div><div class="hljs-line">        <span class="hljs-attr">"sysUser"</span>: {
</div><div class="hljs-line">            <span class="hljs-attr">"id"</span>: <span class="hljs-string">"f17a57b9-1e0d-4a49-b7b0-795efd9250f9"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"sysAccount"</span>: {
</div><div class="hljs-line">                <span class="hljs-attr">"id"</span>: <span class="hljs-string">"50b77e42-87d6-4858-9dc6-5cf9aa4651ab"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"name"</span>: <span class="hljs-string">"15107962485"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"password"</span>: <span class="hljs-string">"e10adc3949ba59abbe56e057f20f883e"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"token"</span>: <span class="hljs-string">"a4f0b1b4-7325-441c-87ef-d88728532dae"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"weChat"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"loginTime"</span>: <span class="hljs-number">1504595583025</span>
</div><div class="hljs-line">            },
</div><div class="hljs-line">            <span class="hljs-attr">"name"</span>: <span class="hljs-string">"高龙群"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"code"</span>: <span class="hljs-string">"1"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"telephone"</span>: <span class="hljs-string">"1"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"identity"</span>: <span class="hljs-string">"1"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"sex"</span>: <span class="hljs-string">"1"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"isOwner"</span>: <span class="hljs-string">"y"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"sysAccountName"</span>: <span class="hljs-string">"15107962485"</span>
</div><div class="hljs-line">        },
</div><div class="hljs-line">        <span class="hljs-attr">"unitList"</span>: [
</div><div class="hljs-line">            {
</div><div class="hljs-line">                <span class="hljs-attr">"id"</span>: <span class="hljs-string">"b66b612f-ca57-4faa-b3fd-b26d43dde0fc"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"sysBuilding"</span>: {
</div><div class="hljs-line">                    <span class="hljs-attr">"id"</span>: <span class="hljs-string">"63d4da0e-83bc-4c7c-8aa7-3965d59f6d1a"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"sysProject"</span>: {
</div><div class="hljs-line">                        <span class="hljs-attr">"id"</span>: <span class="hljs-string">"01a4fb8b-8e1f-11e7-a2f9-4ccc6aeb6282"</span>,
</div><div class="hljs-line">                        <span class="hljs-attr">"name"</span>: <span class="hljs-string">"中海天颂雅苑"</span>,
</div><div class="hljs-line">                        <span class="hljs-attr">"code"</span>: <span class="hljs-string">"zhht"</span>,
</div><div class="hljs-line">                        <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"102.1233"</span>,
</div><div class="hljs-line">                        <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"101"</span>,
</div><div class="hljs-line">                        <span class="hljs-attr">"divisionName"</span>: <span class="hljs-string">"广东省"</span>
</div><div class="hljs-line">                    },
</div><div class="hljs-line">                    <span class="hljs-attr">"name"</span>: <span class="hljs-string">"南区楼栋"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"code"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"projectName"</span>: <span class="hljs-string">"中海天颂雅苑"</span>
</div><div class="hljs-line">                },
</div><div class="hljs-line">                <span class="hljs-attr">"name"</span>: <span class="hljs-string">"1单元"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"code"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"address"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"buildingName"</span>: <span class="hljs-string">"南区楼栋"</span>
</div><div class="hljs-line">            },
</div><div class="hljs-line">            {
</div><div class="hljs-line">                <span class="hljs-attr">"id"</span>: <span class="hljs-string">"b56ea567-4750-4d9f-aaf0-680f2deb2267"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"sysBuilding"</span>: {
</div><div class="hljs-line">                    <span class="hljs-attr">"id"</span>: <span class="hljs-string">"3ddbbfdd-29ec-4239-87e7-dae562b5ec45"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"sysProject"</span>: {
</div><div class="hljs-line">                        <span class="hljs-attr">"id"</span>: <span class="hljs-string">"07231460-ed40-400c-a5ec-437f695f1025"</span>,
</div><div class="hljs-line">                        <span class="hljs-attr">"name"</span>: <span class="hljs-string">"佛山千灯湖"</span>,
</div><div class="hljs-line">                        <span class="hljs-attr">"code"</span>: <span class="hljs-string">"fsqdh"</span>,
</div><div class="hljs-line">                        <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"102.1233"</span>,
</div><div class="hljs-line">                        <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"101"</span>,
</div><div class="hljs-line">                        <span class="hljs-attr">"divisionName"</span>: <span class="hljs-string">"广东省"</span>
</div><div class="hljs-line">                    },
</div><div class="hljs-line">                    <span class="hljs-attr">"name"</span>: <span class="hljs-string">"千灯湖-太和楼"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"code"</span>: <span class="hljs-string">"hhhj"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"projectName"</span>: <span class="hljs-string">"佛山千灯湖"</span>
</div><div class="hljs-line">                },
</div><div class="hljs-line">                <span class="hljs-attr">"name"</span>: <span class="hljs-string">"4单元"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"code"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"address"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"buildingName"</span>: <span class="hljs-string">"千灯湖-太和楼"</span>
</div><div class="hljs-line">            }
</div><div class="hljs-line">        ],
</div><div class="hljs-line">        <span class="hljs-attr">"projectList"</span>: [
</div><div class="hljs-line">            {
</div><div class="hljs-line">                <span class="hljs-attr">"id"</span>: <span class="hljs-string">"01a4fb8b-8e1f-11e7-a2f9-4ccc6aeb6282"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"name"</span>: <span class="hljs-string">"中海天颂雅苑"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"code"</span>: <span class="hljs-string">"zhht"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"102.1233"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"101"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"divisionName"</span>: <span class="hljs-string">"广东省"</span>
</div><div class="hljs-line">            },
</div><div class="hljs-line">            {
</div><div class="hljs-line">                <span class="hljs-attr">"id"</span>: <span class="hljs-string">"07231460-ed40-400c-a5ec-437f695f1025"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"name"</span>: <span class="hljs-string">"佛山千灯湖"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"code"</span>: <span class="hljs-string">"fsqdh"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"102.1233"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"101"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"divisionName"</span>: <span class="hljs-string">"广东省"</span>
</div><div class="hljs-line">            }
</div><div class="hljs-line">        ],
</div><div class="hljs-line">        <span class="hljs-attr">"buildingList"</span>: [
</div><div class="hljs-line">            {
</div><div class="hljs-line">                <span class="hljs-attr">"id"</span>: <span class="hljs-string">"63d4da0e-83bc-4c7c-8aa7-3965d59f6d1a"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"sysProject"</span>: {
</div><div class="hljs-line">                    <span class="hljs-attr">"id"</span>: <span class="hljs-string">"01a4fb8b-8e1f-11e7-a2f9-4ccc6aeb6282"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"name"</span>: <span class="hljs-string">"中海天颂雅苑"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"code"</span>: <span class="hljs-string">"zhht"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"102.1233"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"101"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"divisionName"</span>: <span class="hljs-string">"广东省"</span>
</div><div class="hljs-line">                },
</div><div class="hljs-line">                <span class="hljs-attr">"name"</span>: <span class="hljs-string">"南区楼栋"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"code"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"projectName"</span>: <span class="hljs-string">"中海天颂雅苑"</span>
</div><div class="hljs-line">            },
</div><div class="hljs-line">            {
</div><div class="hljs-line">                <span class="hljs-attr">"id"</span>: <span class="hljs-string">"3ddbbfdd-29ec-4239-87e7-dae562b5ec45"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"sysProject"</span>: {
</div><div class="hljs-line">                    <span class="hljs-attr">"id"</span>: <span class="hljs-string">"07231460-ed40-400c-a5ec-437f695f1025"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"name"</span>: <span class="hljs-string">"佛山千灯湖"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"code"</span>: <span class="hljs-string">"fsqdh"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"102.1233"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"101"</span>,
</div><div class="hljs-line">                    <span class="hljs-attr">"divisionName"</span>: <span class="hljs-string">"广东省"</span>
</div><div class="hljs-line">                },
</div><div class="hljs-line">                <span class="hljs-attr">"name"</span>: <span class="hljs-string">"千灯湖-太和楼"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"code"</span>: <span class="hljs-string">"hhhj"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"123"</span>,
</div><div class="hljs-line">                <span class="hljs-attr">"projectName"</span>: <span class="hljs-string">"佛山千灯湖"</span>
</div><div class="hljs-line">            }
</div><div class="hljs-line">        ]
</div><div class="hljs-line">    },
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="loginOut" href="http://undefined" target="_blank"></a></p>



<h4 id="登录界面退出登录">登录界面—退出登录</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBase/appLogout" target="_blank">http://202.105.104.105:8006/ssh/v1/appBase/appLogout</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：</li>
<li>接口备注：退出登录</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>token</td>
        <td>string</td>
        <th>是</th>
        <td>用户唯一凭证</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>403</td>
        <td>int</td>
        <td>网络异常，登出失败</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>登出成功</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"token"</span>: <span class="hljs-string">"a4f0b1b4-7325-441c-87ef-d88728532dae"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"登出成功"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="ownerRenterGetList" href="http://undefined" target="_blank"></a></p>



<h4 id="业主同住人获取暂时不用">业主同住人—获取<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBusiness/ownerRenter/getList" target="_blank">http://202.105.104.105:8006/ssh/v1/appBusiness/ownerRenter/getList</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：获取全部数据</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>ownerId</td>
        <td>string</td>
        <th>是</th>
        <td>业主id</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">false</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"没有相对应的同住人/访客"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="ownerRenteAdd" href="http://undefined" target="_blank"></a></p>



<h4 id="业主同住人新增-暂时不用">业主同住人—新增 <font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/ownerRenter/add" target="_blank">http://localhost:8080/ssh/v1/appBusiness/ownerRenter/add</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：业主添加同住人（授权）</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>ownerId</td>
        <td>string</td>
        <th>是</th>
        <td>业主id</td>
    </tr>
    <tr>
        <td>telephone</td>
        <td>string</td>
        <th>是</th>
        <td>同住人/访客的手机号</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"授权成功！"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="ownerRenteDelete" href="http://undefined" target="_blank"></a></p>



<h4 id="业主同住人删除暂时不用">业主同住人—删除<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/ownerRenter/delete" target="_blank">http://localhost:8080/ssh/v1/appBusiness/ownerRenter/delete</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：业主同住人 删除</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>     
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>ownerId</td>
        <td>string</td>
        <th>是</th>
        <td>业主id</td>
    </tr>
    <tr>
        <td>renterOrVisitorId</td>
        <td>string</td>
        <th>是</th>
        <td>同住人/访客id</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">false</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"该业主或访客id不存在"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="ownerRenteAuthorize" href="http://undefined" target="_blank"></a></p>



<h4 id="同住人关联业主暂时不用">同住人关联业主<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/ownerRenter/authorize" target="_blank">http://api.ssh.com/v1/appBusiness/ownerRenter/authorize</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：关联业主，推送申请消息到业主端</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>ownerId</td>
        <td>string</td>
        <td>是</td>
        <td>同住人/访客id</td>
    </tr>
    <tr>
        <td>telephone</td>
        <td>string</td>
        <td>是</td>
        <td>业主手机号</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"授权成功！"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="inviteVisitor" href="http://undefined" target="_blank"></a></p>



<h4 id="访客邀请">访客邀请</h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/visitor/invitation" target="_blank">http://api.ssh.com/v1/appBusiness/visitor/invitation</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：业主访客邀请</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>token</td>
        <td>string</td>
        <td>是</td>
        <td>账户登录token</td>
    </tr>
    <tr>
        <td>name</td>
        <td>string</td>
        <td>是</td>
        <td>访客名称</td>
    </tr>
    <tr>
        <td>telephone</td>
        <td>string</td>
        <td>是</td>
        <td>访客电话</td>
    </tr>
    <tr>
        <td>accessTime</td>
        <td>string</td>
        <td>是</td>
        <td>访客来访时间（格式：2017-10-01 10:10:10）</td>
    </tr>
    <tr>
        <td>doorId</td>
        <td>string</td>
        <td>是</td>
        <td>被授权的门id</td>
    </tr>
    <tr>
        <td>carNo</td>
        <td>string</td>
        <td>否</td>
        <td>访客车牌号</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: {
</div><div class="hljs-line">        <span class="hljs-attr">"qrCodeContent"</span>: {
</div><div class="hljs-line">            <span class="hljs-attr">"name"</span>: <span class="hljs-string">"张三"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"accessTime"</span>: <span class="hljs-string">"2017-10-10 10:00:00"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"yzName"</span>: <span class="hljs-string">"赵寅成"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"doorId"</span>: <span class="hljs-string">"test"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"telephone"</span>: <span class="hljs-string">"13677889966"</span>
</div><div class="hljs-line">        }
</div><div class="hljs-line">    },
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="appFunctionAdjust" href="http://undefined" target="_blank"></a></p>



<h4 id="功能列表调整暂时不用">功能列表—调整<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/funciton/adjust" target="_blank">http://localhost:8080/ssh/v1/appBusiness/funciton/adjust</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：调整功能列表</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>ownerId</td>
        <td>string</td>
        <td>是</td>
        <td>账户id</td>
    </tr>
    <tr>
        <td>functionIds</td>
        <td>list</td>
        <td>是</td>
        <td>功能id数组</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: [
</div><div class="hljs-line">        {
</div><div class="hljs-line">            <span class="hljs-attr">"id"</span>: <span class="hljs-number">1</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"code"</span>: <span class="hljs-string">"info"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"name"</span>: <span class="hljs-string">"小区资讯"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"url"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"iconUrl"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"type"</span>: <span class="hljs-string">"y"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"remarks"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">        },
</div><div class="hljs-line">        {
</div><div class="hljs-line">            <span class="hljs-attr">"id"</span>: <span class="hljs-number">2</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"code"</span>: <span class="hljs-string">"notice"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"name"</span>: <span class="hljs-string">"物业通知"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"url"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"iconUrl"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"type"</span>: <span class="hljs-string">"y"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"remarks"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">        }
</div><div class="hljs-line">    ]
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="messagePush" href="http://undefined" target="_blank"></a></p>



<h4 id="通知栏消息推送暂时不用">通知栏消息—推送<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/scan/getData" target="_blank"><strong><em><strong>**********************</strong></em></strong></a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：消息推送（如：app更新、好友请求、关联业主请求、同意授权、公告信息更新等）</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>ownerId</td>
        <td>string</td>
        <th>是</th>
        <td>账户id</td>
    </tr>
    <tr>
        <td>type</td>
        <td>string</td>
        <th>是</th>
        <td>消息类型</td>
    </tr>
    <tr>
        <td>code</td>
        <td>string</td>
        <th>是</th>
        <td>编码</td>
    </tr>
</tbody></table>

<p><a id="scanGetList" href="http://undefined" target="_blank"></a></p>



<h4 id="扫一扫获取信息">扫一扫—获取信息</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBusiness/qrcode/scan" target="_blank">http://202.105.104.105:8006/ssh/v1/appBusiness/qrcode/scan</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：扫一扫获取设备信息（设备设施、园林绿植、放行条、装修信息、访客信息、物业业主二维码）</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>token</td>
        <td>string</td>
        <th>是</th>
        <td>用户唯一标识</td>
    </tr>
    <tr>
        <td>code</td>
        <td>string</td>
        <th>是</th>
        <td>被扫描物的唯一标识（前端从二维码拆分得到值）</td>
    </tr>
    <tr>
        <td>type</td>
        <td>string</td>
        <th>是</th>
        <td>扫描物类型（前端从二维码拆分得到值，设备type=equipment,园林绿植type=plant）</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>-1</td>
        <td>int</td>
        <td>缺少类型参数</td>
    </tr>
    <tr>
        <td>-1</td>
        <td>int</td>
        <td>条形码错误</td>
    </tr>
    <tr>
        <td>-3</td>
        <td>int</td>
        <td>没有匹配信息</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>-</td>
    </tr>
    <tr>
        <td>400</td>
        <td>int</td>
        <td>没有登录</td>
    </tr>
    <tr>
        <td>401</td>
        <td>int</td>
        <td>token已过期，请重新登录</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"type"</span>:<span class="hljs-string">"equipment"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"code"</span>:<span class="hljs-string">"eq01"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"token"</span>:<span class="hljs-string">"a4f0b1b4-7325-441c-87ef-d88728532dae"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例： <br>
    设备信息：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: {
</div><div class="hljs-line">        <span class="hljs-attr">"id"</span>: <span class="hljs-string">"2b73a415-4e6c-4246-981e-a75c5056f0d2"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"code"</span>: <span class="hljs-string">"eq02"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"name"</span>: <span class="hljs-string">"南门云瞳"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"sysProject"</span>: {
</div><div class="hljs-line">            <span class="hljs-attr">"id"</span>: <span class="hljs-string">"5ba97a83-8e1f-11e7-a2f9-4ccc6aeb6282"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"name"</span>: <span class="hljs-string">"中海华庭"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"code"</span>: <span class="hljs-string">"201"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"102.1233"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"101"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"ccProjectCode"</span>: <span class="hljs-string">"ZH-0755-0101"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"divisionName"</span>: <span class="hljs-string">"广东省"</span>
</div><div class="hljs-line">        },
</div><div class="hljs-line">        <span class="hljs-attr">"address"</span>: <span class="hljs-string">"南门"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"type"</span>: <span class="hljs-string">"eye"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"status"</span>: <span class="hljs-string">"正常"</span>
</div><div class="hljs-line">    },
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>绿植信息：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: {
</div><div class="hljs-line">        <span class="hljs-attr">"id"</span>: <span class="hljs-string">"42a708b5-8e1e-11e7-a2f9-4ccc6aeb6282"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"code"</span>: <span class="hljs-string">"dqwm01"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"name"</span>: <span class="hljs-string">"冬青卫矛"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"category"</span>: <span class="hljs-string">"园林绿植"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"sysProject"</span>: {
</div><div class="hljs-line">            <span class="hljs-attr">"id"</span>: <span class="hljs-string">"01a4fb8b-8e1f-11e7-a2f9-4ccc6aeb6282"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"name"</span>: <span class="hljs-string">"阳光棕榈园"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"code"</span>: <span class="hljs-string">"108"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"102.1233"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"101"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"ccProjectCode"</span>: <span class="hljs-string">"ZH-0755-2601"</span>,
</div><div class="hljs-line">            <span class="hljs-attr">"divisionName"</span>: <span class="hljs-string">"广东省"</span>
</div><div class="hljs-line">        },
</div><div class="hljs-line">        <span class="hljs-attr">"status"</span>: <span class="hljs-string">"4"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"price"</span>: <span class="hljs-number">600</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"prodDate"</span>: <span class="hljs-number">-2211696000000</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"description"</span>: <span class="hljs-string">"园林绿植"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"type"</span>: <span class="hljs-string">"01"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"latitude"</span>: <span class="hljs-string">"102.3"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"longitude"</span>: <span class="hljs-string">"303.3"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"projectName"</span>: <span class="hljs-string">"阳光棕榈园"</span>
</div><div class="hljs-line">    },
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="repairGetList" href="http://undefined" target="_blank"></a></p>



<h4 id="设备报修获取暂时不用">设备报修—获取<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/repair/getList" target="_blank">http://localhost:8080/ssh/v1/appBusiness/repair/getList</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：获取全部设备维修信息</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>-</td>
        <td>-</td>
        <th>-</th>
        <td>-</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">false</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"没有任何维修信息"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="repairAdd" href="http://undefined" target="_blank"></a></p>



<h4 id="设备报修新增暂时不用">设备报修—新增<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/repair/add" target="_blank">http://localhost:8080/ssh/v1/appBusiness/repair/add</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：报修设备维修信息</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>ownerId</td>
        <td>String</td>
        <th>是</th>
        <td>业主（报修人）id</td>
    </tr>
    <tr>
        <td>equipmentId</td>
        <td>String</td>
        <th>是</th>
        <td>设备id</td>
    </tr>
    <tr>
        <td>type</td>
        <td>String</td>
        <th>是</th>
        <td>报修类型</td>
    </tr>
    <tr>
        <td>phenomenon</td>
        <td>String</td>
        <th>是</th>
        <td>故障现象</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"..."</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>:[]
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="repairComment" href="http://undefined" target="_blank"></a></p>



<h4 id="评价暂时不用">评价<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/comment" target="_blank">http://localhost:8080/ssh/v1/appBusiness/comment</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：评价设备维修结果</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>id</td>
        <td>String</td>
        <th>是</th>
        <td>投诉记录id</td>
    </tr>
    <tr>
        <td>type</td>
        <td>String</td>
        <th>是</th>
        <td>评价类型（报修单评价：repair，投诉评价：complaint）</td>
    </tr>
    <tr>
        <td>repairCode</td>
        <td>String</td>
        <th>否</th>
        <td>对报修单的评价时必须传</td>
    </tr>
    
        <tr>
        <td>content</td>
        <td>String</td>
        <th>是</th>
        <td>内容</td>    
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"评价成功"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="complaintGetList" href="http://undefined" target="_blank"></a></p>



<h4 id="投诉获取投诉信息暂时不用">投诉—获取投诉信息<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://api.ssh.com/v1/app/complaint/getList" target="_blank">http://api.ssh.com/v1/appBusiness/complaint/getList</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：获取投诉信息列表</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>ownerId</td>
        <td>String</td>
        <th>是</th>
        <td>业主id</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">false</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"您没有任何投诉记录！"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="complaintAdd" href="http://undefined" target="_blank"></a></p>



<h4 id="投诉新增暂时不用">投诉—新增<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/complaint/add" target="_blank">http://localhost:8080/ssh/v1/appBusiness/complaint/add</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：新增投诉信息</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>ownerId</td>
        <td>String</td>
        <th>是</th>
        <td>账户id</td>    
    </tr>
   <tr>
        <td>content</td>
        <td>String</td>
        <th>是</th>
        <td>内容</td>    
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"..."</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>:[]
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="complaintModifyState" href="http://undefined" target="_blank"></a></p>



<h4 id="投诉更新暂时不用">投诉—更新<font color="red">（暂时不用）</font></h4>

<ul><li>接口地址：<a href="http://api.ssh.com/v1/app/complaint/modifyState" target="_blank">http://localhost:8080/ssh/v1/appBusiness/complaint/update</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：根据投诉单号更新状态</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>status</td>
        <td>String</td>
        <th>是</th>
        <td>状态</td>    
    </tr>
    <tr>
        <td>code</td>
        <td>String</td>
        <th>是</th>
        <td>投诉单编号</td>    
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
        <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"更新状态成功！"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="fileUpload" href="http://undefined" target="_blank"></a></p>



<h4 id="文件上传文件">文件—上传文件</h4>

<ul><li>接口地址：<a href="http://localhost:8080/ssh/v1/appBusiness/fileUpload" target="_blank">http://202.105.104.105:8006/ssh//v1/appBusiness/fileUpload</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：</li>
<li>接口备注：上传文件（图片，视频等）</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>-</td>
        <td>form</td>
        <th>是</th>
        <td>form表单,post提交，enctype=”multipart/form-data”</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"..."</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: []
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="authenticate" href="http://undefined" target="_blank"></a></p>



<h4 id="物联监控门禁鉴权">物联监控—门禁鉴权</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBusiness/iot/entrance/authenticate" target="_blank">http://202.105.104.105:8006/ssh/v1/appBusiness/iot/entrance/authenticate</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：选择门禁</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>reqId</td>
        <td>string</td>
        <th>是，随意填</th>
        <td>请求代码</td>
    </tr>
     <tr>
        <td>upid</td>
        <td>string</td>
        <th>是</th>
        <td>项目唯一编号</td>
    </tr>
     <tr>
        <td>bldgId</td>
        <td>string</td>
        <th>是</th>
        <td>楼栋编号</td>
    </tr>
     <tr>
        <td>unitId</td>
        <td>string</td>
        <th>是</th>
        <td>单元编号</td>
    </tr>
     <tr>
        <td>personType</td>
        <td>string</td>
        <th>是</th>
        <td>人员类型</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>201</td>
        <td>int</td>
        <td>系统异常，操作失败</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>授权成功</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"reqId"</span>:<span class="hljs-string">"test"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"upid"</span>:<span class="hljs-string">"DaMen2"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"bldgId"</span>:<span class="hljs-string">"LB01"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"unitId"</span>:<span class="hljs-string">"DYCS"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"personType"</span>:<span class="hljs-string">"YZ"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"授权成功"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: {
</div><div class="hljs-line">        <span class="hljs-attr">"MLYID"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"MID"</span>: <span class="hljs-string">"83886523"</span>,
</div><div class="hljs-line">        <span class="hljs-attr">"MMC"</span>: <span class="hljs-string">"研发门"</span>
</div><div class="hljs-line">    },
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="openDoor" href="http://undefined" target="_blank"></a></p>



<h4 id="物联监控门禁开门">物联监控—门禁开门</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBusiness/iot/entrance/openDoor" target="_blank">http://202.105.104.105:8006/ssh/v1/appBusiness/iot/entrance/openDoor</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：开门</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>reqId</td>
        <td>string</td>
        <th>是，随意填</th>
        <td>请求代码</td>
    </tr>
     <tr>
        <td>upid</td>
        <td>string</td>
        <th>是</th>
        <td>项目唯一编号</td>
    </tr>
    <tr>
        <td>doorId</td>
        <td>string</td>
        <th>是</th>
        <td>门ID</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>201</td>
        <td>int</td>
        <td>系统异常，操作失败</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>开门成功</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"reqId"</span>:<span class="hljs-string">"test"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"upid"</span>:<span class="hljs-string">"DaMen2"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"doorId"</span>:<span class="hljs-string">"83886523"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"开门成功"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: [],
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="saveEntryLog" href="http://undefined" target="_blank"></a></p>



<h4 id="物联监控保存蓝牙开门记录">物联监控—保存蓝牙开门记录</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBusiness/iot/entryLog" target="_blank">http://202.105.104.105:8006/ssh/v1/appBusiness/iot/entryLog</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：开门</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>blueToothOrginName</td>
        <td>string</td>
        <td>是（蓝牙开门）/否（远程开门）</td>
        <td>蓝牙原始名称</td>
    </tr>
     <tr>
        <td>blueToothCustomName</td>
        <td>string</td>
        <td>是（蓝牙开门）/否（远程开门）</td>
        <td>蓝牙自定义名称</td>
    </tr>
    <tr>
        <td>yzId</td>
        <td>string</td>
        <td>是（业主端）/否（物业端）</td>
        <td>业主账户ID</td>
    </tr>
    <tr>
        <td>wyId</td>
        <td>string</td>
        <td>是（物业端）/否（业主端）</td>
        <td>物业账户ID</td>
    </tr>
    <tr>
        <td>reqId</td>
        <td>string</td>
        <td>是（远程开门）/否（蓝牙开门）</td>
        <td>请求代码</td>
    </tr>
    <tr>
        <td>upid</td>
        <td>string</td>
        <td>是（远程开门）/否（蓝牙开门）</td>
        <td>项目唯一编号</td>
    </tr>
    <tr>
        <td>doorId</td>
        <td>string</td>
        <td>是</td>
        <td>门ID</td>
    </tr>
    <tr>
        <td>openTime</td>
        <td>string</td>
        <td>是</td>
        <td>开门时间</td>
    </tr>
    <tr>
        <td>type</td>
        <td>string</td>
        <td>是</td>
        <td>开门类型（bluetooth:蓝牙开门；remotion:远程开门）</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>201</td>
        <td>int</td>
        <td>操作失败</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>操作成功</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"blueToothOrginName"</span>:<span class="hljs-string">"南门"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"blueToothCustomName"</span>:<span class="hljs-string">"我的南门"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"openTime"</span>:<span class="hljs-string">"2017-09-03"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"accountId"</span>:<span class="hljs-string">"12703c7c-866f-4ef2-a5e2-2c7ec5f20533"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"操作成功"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="getEntryLog" href="http://undefined" target="_blank"></a></p>



<h4 id="物联监控获取蓝牙开门记录">物联监控—获取蓝牙开门记录</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBusiness/iot/entryLog" target="_blank">http://202.105.104.105:8006/ssh/v1/appBusiness/iot/entryLog/{token}</a> </li>
<li>返回格式：json</li>
<li>请求方式：http get</li>
<li>访问权限：token</li>
<li>接口备注：获取蓝牙开门记录</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>token</td>
        <td>string</td>
        <th>是</th>
        <td>用户唯一凭证</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>202</td>
        <td>int</td>
        <td>没有相关数据返回</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>操作成功</td>
    </tr>
    <tr>
        <td>400</td>
        <td>int</td>
        <td>您已退出登录，请重新登录</td>
    </tr>
    <tr>
        <td>401</td>
        <td>int</td>
        <td>token已过期，请重新登录</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"token"</span>:<span class="hljs-string">"12703c7c-866f-4ef2-a5e2-2c7ec5f20533"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>



<pre class="prettyprint hljs-dark"><code class="language-javascript hljs"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-string">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-string">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-string">"message"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-string">"result"</span>: {
</div><div class="hljs-line">        <span class="hljs-string">"rows"</span>: [
</div><div class="hljs-line">            {
</div><div class="hljs-line">                <span class="hljs-string">"appEntryLog"</span>: {
</div><div class="hljs-line">                    <span class="hljs-string">"id"</span>: <span class="hljs-number">2</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"blueToothOrginName"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"blueToothCustomName"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"openTime"</span>: <span class="hljs-number">1506301979000</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"sysAccount"</span>: {
</div><div class="hljs-line">                        <span class="hljs-string">"id"</span>: <span class="hljs-string">"4e307a5f-937f-404c-9f24-e131f84860a7"</span>,
</div><div class="hljs-line">                        <span class="hljs-string">"name"</span>: <span class="hljs-string">"13123375305"</span>,
</div><div class="hljs-line">                        <span class="hljs-string">"password"</span>: <span class="hljs-string">"c4ca4238a0b923820dcc509a6f75849b"</span>,
</div><div class="hljs-line">                        <span class="hljs-string">"token"</span>: <span class="hljs-string">"b6f706dd-b032-44cf-bcfe-4a4c6e8510fd"</span>,
</div><div class="hljs-line">                        <span class="hljs-string">"weChat"</span>: <span class="hljs-string">""</span>,
</div><div class="hljs-line">                        <span class="hljs-string">"loginTime"</span>: <span class="hljs-number">1506302666000</span>
</div><div class="hljs-line">                    },
</div><div class="hljs-line">                    <span class="hljs-string">"wyAccount"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"type"</span>: <span class="hljs-string">"remotion"</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"doorId"</span>: <span class="hljs-string">"83886523"</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"reqId"</span>: <span class="hljs-string">"test"</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"upid"</span>: <span class="hljs-string">"DaMen2"</span>
</div><div class="hljs-line">                },
</div><div class="hljs-line">                <span class="hljs-string">"yzName"</span>: <span class="hljs-string">"柳玉豹"</span>,
</div><div class="hljs-line">                <span class="hljs-string">"wyName"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">            },
</div><div class="hljs-line">            {
</div><div class="hljs-line">                <span class="hljs-string">"appEntryLog"</span>: {
</div><div class="hljs-line">                    <span class="hljs-string">"id"</span>: <span class="hljs-number">1</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"blueToothOrginName"</span>: <span class="hljs-string">"20:C3:8F:F4:FF:E0"</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"blueToothCustomName"</span>: <span class="hljs-string">"测试"</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"openTime"</span>: <span class="hljs-number">1506301950000</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"sysAccount"</span>: {
</div><div class="hljs-line">                        <span class="hljs-string">"id"</span>: <span class="hljs-string">"50b77e42-87d6-4858-9dc6-5cf9aa4651ab"</span>,
</div><div class="hljs-line">                        <span class="hljs-string">"name"</span>: <span class="hljs-string">"15107962485"</span>,
</div><div class="hljs-line">                        <span class="hljs-string">"password"</span>: <span class="hljs-string">"e10adc3949ba59abbe56e057f20f883e"</span>,
</div><div class="hljs-line">                        <span class="hljs-string">"token"</span>: <span class="hljs-string">"a4f0b1b4-7325-441c-87ef-d88728532dae"</span>,
</div><div class="hljs-line">                        <span class="hljs-string">"weChat"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">                        <span class="hljs-string">"loginTime"</span>: <span class="hljs-number">1506310558000</span>
</div><div class="hljs-line">                    },
</div><div class="hljs-line">                    <span class="hljs-string">"wyAccount"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"type"</span>: <span class="hljs-string">"bluetooth"</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"doorId"</span>: <span class="hljs-string">"20:C3:8F:F4:FF:E0"</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"reqId"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">                    <span class="hljs-string">"upid"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">                },
</div><div class="hljs-line">                <span class="hljs-string">"yzName"</span>: <span class="hljs-string">"赵寅成"</span>,
</div><div class="hljs-line">                <span class="hljs-string">"wyName"</span>: <span class="hljs-literal">null</span>
</div><div class="hljs-line">            }
</div><div class="hljs-line">        ]
</div><div class="hljs-line">    },
</div><div class="hljs-line">    <span class="hljs-string">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="userModify" href="http://undefined" target="_blank"></a></p>



<h4 id="个人信息修改">个人信息—修改</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBusiness/user/modify" target="_blank">http://202.105.104.105:8006/ssh/v1/appBusiness/user/modify</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：token</li>
<li>接口备注：修改个人基本信息</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>sex</td>
        <td>string</td>
        <td>否</td>
        <td>性别</td>
    </tr>
    <tr>
        <td>name</td>
        <td>String</td>
        <td>否</td>
        <td>用户名</td>    
    </tr>
     <tr>
        <td>token</td>
        <td>String</td>
        <td>是</td>
        <td>用户唯一凭证</td>    
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>116</td>
        <td>int</td>
        <td>账户不存在，修改失败</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>修改成功</td>
    </tr>
    <tr>
        <td>400</td>
        <td>int</td>
        <td>您已退出登录，请重新登录</td>
    </tr>
        <tr>
        <td>401</td>
        <td>int</td>
        <td>token已过期，请重新登录</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"token"</span>:<span class="hljs-string">"4d1f55fb-42e8-4479-971c-0e2fb191f026"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"sex"</span>:<span class="hljs-string">"男"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"name"</span>:<span class="hljs-string">"张三"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"修改成功"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="modifyPassword" href="http://undefined" target="_blank"></a></p>



<h4 id="个人信息修改密码">个人信息—修改密码</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBase/modifyPassword" target="_blank">http://202.105.104.105:8006/ssh/v1/appBase/modifyPassword</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：</li>
<li>接口备注：修改密码</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>telephone</td>
        <td>string</td>
        <th>是</th>
        <td>账号</td>
    </tr>
    <tr>
        <td>password</td>
        <td>string</td>
        <th>是</th>
        <td>新密码</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>403</td>
        <td>int</td>
        <td>网络异常，修改失败</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>修改成功</td>
    </tr>
</tbody></table>

<p>请求示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"telephone"</span>:<span class="hljs-string">"15107962485"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"password"</span>:<span class="hljs-string">"123456"</span>
</div><div class="hljs-line">}
</div></code></pre>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"修改成功"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a id="talkbackJGpush" href="http://undefined" target="_blank"></a></p>



<h4 id="推送云对讲发起推送">推送—云对讲发起推送</h4>

<ul><li>接口地址：<a href="http://202.105.104.105:8006/ssh/v1/appBase/jgPush" target="_blank">http://202.105.104.105:8006/ssh/v1/appBase/jgPush</a> </li>
<li>返回格式：json</li>
<li>请求方式：http post</li>
<li>访问权限：</li>
<li>接口备注：云对讲向对方发起推送</li>
</ul>

<p>请求参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>必填</th>
        <th>参数说明</th>
    </tr>
    <tr>
        <td>alias</td>
        <td>string</td>
        <th>是</th>
        <td>推送对象别名（即对方号码）</td>
    </tr>
    <tr>
        <td>msg</td>
        <td>string</td>
        <th>是</th>
        <td>推送到对方的提示消息</td>
    </tr>
    <tr>
        <td>pushToWebMsg</td>
        <td>string</td>
        <th>是</th>
        <td>云对讲通讯相关消息（包含谁向谁发起对讲，进入某个房间号）</td>
    </tr>
</tbody></table>

<p>返回参数说明：</p>

<table>
    <tbody><tr>
        <th>名称</th>
        <th>类型</th>
        <th>说明</th>
    </tr>
    <tr>
        <td>state</td>
        <td>boolean</td>
        <td>返回true/false</td>
    </tr>
    <tr>
        <td>flag</td>
        <td>string</td>
        <td>标识字段</td>
    </tr>
        <tr>
        <td>message</td>
        <td>string</td>
        <td>返回说明</td>
    </tr>
    <tr>
        <td>result</td>
        <td>string</td>
        <td>返回结果集</td>
    </tr>
    <tr>
        <td>errorCode</td>
        <td>int</td>
        <td>状态码</td>
    </tr>
</tbody></table>

<p>返回状态码说明：</p>

<table>
    <tbody><tr>
        <th>状态码</th>
        <th>类型</th>
        <th>返回信息</th>
    </tr>
    <tr>
        <td>201</td>
        <td>int</td>
        <td>系统异常，操作失败</td>
    </tr>
    <tr>
        <td>200</td>
        <td>int</td>
        <td>修改成功</td>
    </tr>
</tbody></table>

<p>JSON返回示例：</p>

<pre class="prettyprint hljs-dark"><code class="hljs json"><div class="hljs-line">{
</div><div class="hljs-line">    <span class="hljs-attr">"state"</span>: <span class="hljs-literal">true</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"flag"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"message"</span>: <span class="hljs-string">"推送成功"</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"result"</span>: <span class="hljs-literal">null</span>,
</div><div class="hljs-line">    <span class="hljs-attr">"errorCode"</span>: <span class="hljs-number">200</span>
</div><div class="hljs-line">}
</div></code></pre>

<p><a href="#top" class="fixed">返回顶部</a></p></div></body></html>